<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>File Upload</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body ,body td, form, ul {margin:0;padding:0;font-size:12px;font-family:'Verdana';}
a {color:#2366A8;text-decoration:none;}
a:hover {color:red;text-decoration:none;}
input {padding:3px;font-size:12px;margin-right:2px;width:300px;}
.button ,.button:hover {background:#2782D6;border:1px solid;border-color:#ddd #264F6E #264F6E #ddd;color:#fff;height:23px;width:60px;font-size:12px;}
li {margin:0;padding:3px 0;list-style:none;}
li.even {background:#f3f3f3;}
li.even:hover {background:#f0f0f0;}
p {margin:3px 0;}
.tab {width:100%;background:#f0f0f0;overflow:hidden;}
.tab ul {border-bottom:1px solid #ccc;height:25px;}
.tab ul li {float:left;margin:3px 0 0 5px;padding:3px 5px;position:relative;bottom:-1px;}
.tab .on {background:#fff;border:1px solid #ccc;border-bottom:none;}
.multipage {height:20px;overflow:hidden;font-size:12px;}
.multipage span ,.multipage a {display:block;background:#fff;float:left;padding:0 5px;border:1px solid #ccc;margin-right:3px;}
.multipage a:hover {border:1px solid #2782D6;}
.multipage .on {background:#2782D6;color:#fff;font-weight:bold;border-color:#2782D6}
.multipage .go {border:1px solid #ccc;height:15px;width:20px;line-height:15px;padding:0;}
</style>
</head>
<script type="text/javascript">
window.onload = function() {
	try {
		var h1 = document.documentElement.scrollHeight;
		var h2 = document.body.scrollHeight;
		var height = Math.min(h1, h2);
		parent.document.getElementById('upload').height = height;
	} catch (e) {}
}
function to_editor(obj, value) {
	try {
		parent.tinyMCE.getInstanceById(obj).getBody().innerHTML += value;
	} catch(e) {}
}
</script>
<body scroll="no">
<div style="border:1px solid #ccc;">
<?php $this->showTabs()?>
<div style="padding:5px">